package com.fasc.open.api.bean.common;

import com.fasc.open.api.bean.base.BaseBean;

/**
 * @author Fadada
 * @date 2021/12/6 9:28:18
 */
public class OpenId extends BaseBean {
    private String idType;
    private String openCorpId;
    private String openUserId;

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getOpenCorpId() {
        return openCorpId;
    }

    public void setOpenCorpId(String openCorpId) {
        this.openCorpId = openCorpId;
    }

    public String getOpenUserId() {
        return openUserId;
    }

    public void setOpenUserId(String openUserId) {
        this.openUserId = openUserId;
    }

    public static OpenId getInstance(String idType,
                                     String openUserId,
                                     String openCorpId) {
        OpenId openId = new OpenId();
        openId.setIdType(idType);
        openId.setOpenUserId(openUserId);
        openId.setOpenCorpId(openCorpId);
        return openId;
    }
}
